import { Next, Context } from "koa";

export declare interface CustomEnhance {
    next?: Next;
    service?: any;
    model?: any;
    controller?: any;
}

export declare interface Route {
    path: string;
    method?: string;
    controller: (ctx: Context, enhance: CustomEnhance) => void;
    guard?: []
}